// 全局注册elementPlus图标 --> 利用插件进行安装
import type { App } from "vue"
import * as ElementPlusIconsVue from "@element-plus/icons-vue"

function registerIcons(app: App) {
  for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
  }
}

export default registerIcons
